/*
THIS FILE IS FOR GLOBAL STYLES ONLY!! TO ADD LOCAL STYLES FOR A SPECIFIC
APPLICATION PLEASE CREATE A NEW STYLE.CSS DOCUMENT AND INSERT YOUR STYLE
RULES THERE!
*/

body {
    margin: 0px;
    background-color: #dde0f0;
    overflow-y: scroll;
    padding-bottom: 20px;
    font-family: ubuntu, 'Ubuntu', sans-serif;
}

img {
    border: 0px;
}

p {
	text-align: justify;
}

li {
	text-align: justify;
}

.tooltip {
	background-color: #cbced5;
	border: solid 1px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	padding: 5px;
	margin-left: 5px;
	margin-right: 5px;
}

/*
 * Forms 
 */

#detail_table {
	width: 100%;
}

#detail_table table {
	min-width: 40%;
}

#detail_table input[type=text], #detail_table input[type=file], #detail_table input[type=password], #detail_table select, #detail_table textarea { 
	min-width: 300px;
	width: 100%; 
}

#detail_table th {
	text-align: right;
	padding-right: 5px;
}

#detail_table th, #detail_table td {
	vertical-align: top;
}

.hint {
	background-repeat: no-repeat;
	height: 21px;
	width: 16px;
	background-image: url('../img/question.png');
	background-position-y: 4px;
}

/*
Spanning horizontal bar at top of page. Contains Logo.
*/
#header {
    background-image: url('../img/header_bg.png');
    height: 150px;
    width: auto;
}

#header img {
    height: 145px;
    padding-bottom: 5px;
}

/*
Styles for the Navigation bar. On none-mobile platforms it will be displayed in
the upper right corner. It will overlap all other elements.
*/

#navi {
	position: absolute;
	right: 0px;
	top: 0px;
	
	height: 145px;
}

#navi_left {
	height: 145px;
	width: 10px;
	
	float: left;
	
	background-image: url('../img/navi_left.png');
}

#navi_center {
	right: 0px;
	top: 0px;
	
	float: left;
	
	height: 145px;
	
	background-image: url('../img/navi_bg.png');
}

.navi_item {
    color: #cccccc;
    background-color: #40444d;
    
    float: left;
    text-decoration: none;
    
    font-size: 18px;
    font-weight: bold;
    
    padding: 0px 10px;
    /*
     * Attention: the sum of padding-top and height
     * must equals the height of top_bar!!
     */
    padding-top: 70px;
    height: 30px;
    
    margin-right: 10px;
}

.navi_item:hover {
    color: #ffffff;
    background-color: #614040;
}

/*
Additional navigation bar. This one is displayed beneath the top bar. It
contains breadcrumbs and the login form.
*/
#inline_navi {
	background-image: url('../img/inline_navi_bg.png');
	background-repeat: repeat-x;
	background-color: #555964;
	
    padding: 0px 20px;
    font-size: 12pt;
    min-height: 30px;
   	line-height: 30px;
   	
   	overflow: hidden;
   	
    color: #ffffff;
}

#inline_navi a {
    text-decoration: none;
    color: #97cae8;
}

#inline_navi a:hover {
    color: #ff0000;
}

#breadcrumbs {
    float: left;
}

#login {
    float: right;
}

/*
Styles for the Content area. There should be as little local styles as possible 
to guarantee consistent look and feel.
*/
#content {
    padding: 20px 20px;
}

#content a {
    text-decoration: none;
    color: #222299;
}

#content a:hover {
    color: #ff0000;
}

/*
 * The following definitions are for boxes.
 * If you want a box just use a <div class="box"> and put in a <h1> and the content
 */

.box  {
	border-color: #555964;
	border-style: solid;
	border-width: 1px;
	
	padding: 10px;
	
	background-color: #ffffff;
	
	overflow: hidden;
}

.box h1, .box h2 {
	background-image: url('../img/box_head_bg.png');
	background-repeat: repeat-x;
	background-color: #555964;
	
    padding: 0px 20px;
    
    margin-top: -10px;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 10px;
    
    font-size: 18pt;
    min-height: 40px;
   	line-height: 40px;
   	
   	overflow: hidden;
   	
    font-weight: bold;
    color: #ffffff;
}

/*
 * The following is for boxes in boxes: they are red
 */

.box .box  {
	margin-top: 10px;
	
	border-style: none;
}

.box .box h2 {
	border-color: #aab0c0;
	border-width: 1px;
	border-style: solid;
	
	color: black;
	
	background-color: #aab0c0;
	
    font-size: 16pt;
    min-height: 35px;
   	line-height: 35px;
}

/*
 * The following definitions are for "buttons"
 */

ul.buttonbar {
	margin-bottom: 10px;
	padding: 0px;
}

ul.buttonbar ul {
	display: none;
	position: absolute;
	background-color: #aab0c0;
	border-style: solid;
	border-top-style: none;
	border-width: 1px;
	border-color: #8890a0;
	padding: 0;
	margin: 0;
	width: 100%;
	z-index: 5;
}

/*ul.buttonbar>li:hover ul {
	display: block;
}*/

ul.buttonbar ul li {
	display: block;
	text-align: left;
	border-style: none;
	padding: 2px;
}

ul.buttonbar ul li:hover {
	background-color: #8890a0;
}


ul.buttonbar>li {
	display: inline;
	
	list-style-type: none;
	margin-right: 5px;
	padding: 3px;
	
	border-width: 1px;
	border-style: solid;
	
	border-color: transparent;
	
	position: relative; 
}

ul.buttonbar>li:hover {
	background-color: #aab0c0;
	
	border-color: #8890a0;
}

a.button {
	background-repeat: no-repeat;
	padding-left: 23px;
	background-position-x: 2px;
	line-height: 16px;
}

a.button.add {
	background-image: url('../img/add.png');
	background-position-y: 4px;
}

a.button.question {
	background-image: url('../img/question.png');
	background-position-y: 3px;
}

a.button.delete {
	background-image: url('../img/missing.png');
	background-position-y: 3px;
}

a.button.change {
	background-image: url('../img/change.png');
	background-position-y: 4px;
}

a.button.upload {
	background-image: url('../img/upload.png');
	background-position-y: 3px;
}

a.button.link {
	background-image: url('../img/link.png');
	background-position-y: 3px;
}

a.button.back {
	background-image: url('../img/back.png');
	background-position-y: 4px;
}

.status {
	margin-top: 4px;
	float: right;
	vertical-align: middle;
	font-size: 10pt;
}

.status .missing {
	background-image: url('../img/missing.png');
	background-repeat: no-repeat;
	height: 16px;
	width: 16px;
}

.tags ul {
	padding: 0;
}

.tags li {
	display: inline-block;
	font-size: 11pt;
	border: 1px solid #8890a0;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	padding: 2px;
	text-decoration:none;
	background: #aab0c0;
	margin-top: 5px;
	
	zoom: 1;
	*display: inline;
}

ul.item_list {
	list-style: none;
}

ul.item_list li.item a {
	background-repeat: no-repeat;
	padding-left: 23px;
	background-position-x: 2px;
	line-height: 16px;
}

ul.item_list li.item a.link {
	background-image: url('../img/link.png');
	background-position-y: 3px;
}

ul.item_list li.item a.upload {
	background-image: url('../img/upload.png');
	background-position-y: 3px;
}
